<?php head(array('title' => html_escape('Summary of ' . exhibit('title')),'bodyid'=>'exhibit','bodyclass'=>'summary')); ?>

<div id="secondary">
	<?php echo secondary_poincare();?>
</div>

<div id="primary">
	<h1>Expo > <?php echo html_escape(exhibit('title')); ?></h1>

	<div id="nav-container">
		<?php set_exhibit_sections_for_loop_by_exhibit(get_current_exhibit()); ?>
<?php /*
		<div style="float:right;margin-right:2em;">
			<?php
			//$loop = loop_exhibit_sections();
			echo exhibit_builder_exhibit_uri(get_current_exhibit(), get_current_exhibit_section());?>
		</div>
*/
?>
		<ul class="exhibit-section-nav">
			<li class="current"><a  class="exhibit-section-title" href="<?php echo exhibit_builder_exhibit_uri(get_current_exhibit(), get_current_exhibit_section()); ?>">Accueil</a></li>
			<?php while(loop_exhibit_sections()): ?>
				<?php if (exhibit_builder_section_has_pages()): ?>
				  <li><a  class="exhibit-section-title" href="<?php echo exhibit_builder_exhibit_uri(get_current_exhibit(), get_current_exhibit_section()); ?>"><?php echo html_escape(exhibit_section('title')); ?></a></li>
				<?php endif; ?>
			<?php endwhile; ?>
		</ul>
		<ul class="exhibit-page-nav">
			<li class="current" style="font-weight:bold;"><?php echo __('Description'); ?></li>
		</ul>
	</div>

	<div class="exhibit-page-content">
		<?php echo exhibit('description'); ?>
		<h5><?php echo __('Credits'); ?></h5>
		<p><?php echo html_escape(exhibit('credits')); ?></p>
	</div>

</div>
<?php foot(); ?>
